Automattic\Jetpack\Sync\Actions C

Total Complexity 121
Dependencies 15
Dependents 23
Total lines 951
Lines of code 424
Logical lines of code 236
Comment lines 404
Methods 33
Properties 2

Methods 33

Method Rating Maintainability Complexity Lines of code
send_data()
A
39 11 64
get_sync_status()
A
42 12 48
do_cron_sync_by_type()
A
50 13 26
get_debug_details()
A
48 9 31
should_initialize_sender()
A
53 9 25
sync_allowed()
A
54 9 24
do_initial_sync()
S
57 5 17
init()
S
56 5 17
cleanup_on_upgrade()
S
58 5 15
maybe_schedule_sync_cron()
S
60 4 13
jetpack_cron_schedule()
S
59 3 13
do_full_sync()
S
62 3 12
initialize_search()
S
64 3 9
should_initialize_sender_enqueue()
S
66 3 9
do_only_first_initial_sync()
S
69 3 7
get_start_time_offset()
S
63 2 11
prevent_publicize_blacklisted_posts()
S
70 2 6
sanitize_filtered_sync_cron_schedule()
S
67 2 8
initialize_wp_super_cache()
S
70 2 6
initialize_woocommerce()
S
70 2 6
add_sender_shutdown()
S
65 2 10
set_is_importing_true()
S
80 1 3
initialize_sender()
S
74 1 4
add_search_sync_module()
S
76 1 4
add_woocommerce_sync_module()
S
76 1 4
initialize_listener()
S
79 1 3
add_wp_super_cache_sync_module()
S
76 1 4
mark_sync_read_only()
S
79 1 3
do_cron_sync()
S
80 1 3
clear_sync_cron_jobs()
S
77 1 4
init_sync_cron_jobs()
S
64 1 9
sync_via_cron_allowed()
S
80 1 3
do_cron_full_sync()
S
80 1 3